Method, device and system for controlling air interface resource

ABSTRACT

Embodiments of the present application provide a method, device and system for controlling an air interface resource and relates to the field of communications, which improves air interface resource utilization. The method includes: when a core network device or user equipment detects that service data is not transmitted over a communication channel between the two devices by using an air interface resource, switching a first frequency of sending a hello packet to a peer device to a second frequency, and sending a frequency switching message to instruct the peer device also to switch the first frequency of sending a hello packet to the second frequency, so that when the hello packet is not detected within a packet detection period, an access network device releases an air interface resource occupied by a first communication channel.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.15/380,313, filed on Dec. 15, 2016, which is a continuation ofInternational Application No. PCT/CN2015/080437, filed on May 30, 2015,which claims priority to Chinese Patent Application No. 201410348769.2,filed on Jul. 22, 2014. All of the aforementioned patent applicationsare hereby incorporated by reference in their entireties.

TECHNICAL FIELD

The present application relates to the field of communications, and inparticular, to a method, device and system for controlling an airinterface resource.

BACKGROUND

In a wireless communications system, when receiving downlink servicedata sent by a core network device to user equipment, an access networkdevice allocates an air interface resource for the user equipment, sothat the access network device is capable of sending the downlinkservice data to the user equipment by using the air interface resource.For example, in an LTE (Long Term Evolution) system, the access networkdevice may be a base station, the user equipment may be a mobile phone,and the air interface resource is a high frequency resource fortransmitting information between the mobile phone and the base station.A frequency resource that can be used for transmitting information islimited, and therefore saving should be made as much as possible whenthe access network device allocates the air interface resource to theuser equipment.

In the prior art, in order to ensure that a communication channelbetween user equipment and a core network device is normal andreachable, a hello keep-alive packet is sent between the user equipmentand the core network device through an access network device. If a hellopacket sent by the user equipment or the core network device is detectedwithin a detection period, the access network device keeps an allocatedair interface resource to the user equipment. If the hello packet sentby the user equipment or the core network device is not detected withinthe detection period, the access network device releases the airinterface resource that is allocated to the user equipment, so thatanother user equipment uses the air interface resource.

However, in a practical application scenario, after acquiring an airinterface resource, user equipment may not transmit service data byusing the air interface resource for a long time, for example, a userstays a long time at a web page that has been loaded by user equipment.Because the user equipment does not perform any new service activity,the air interface resource is not used for transmitting service datawithin the period, which causes air interface resource waste.

SUMMARY

The present application provides a method, device and system forcontrolling an air interface resource, which improves air interfaceresource utilization, so as to solve a problem of air interface resourcewaste existing in the prior art.

In order to achieve the foregoing objective, the following technicalsolutions are employed in the embodiments of the present application:

In a first aspect, a method for controlling an air interface resource isprovided, and the method includes:

sending, by a first communication device, a hello packet to a secondcommunication device over a first communication channel at a firstfrequency after an access network device allocates an air interfaceresource to the first communication channel, where the firstcommunication channel is a communication channel, which passes throughthe access network device, between the first communication device andthe second communication device, and the first communication device is acore network device or user equipment;

detecting, by the first communication device, whether service data istransmitted over the first communication channel by using the airinterface resource;

switching, when it is detected that the service data is not transmittedover the first communication channel by using the air interfaceresource, the first frequency of sending the hello packet to the secondcommunication device to a second frequency of sending the hello packetto the second communication device, where the second frequency is lessthan the first frequency; and

sending a first frequency switching message to the second communicationdevice, where the first frequency switching message is used forinstructing the second communication device to switch the firstfrequency of sending a hello packet to the first communication device tothe second frequency.

In a first possible implementation manner of the first aspect, thedetecting, by the first communication device, whether service data istransmitted over the first communication channel by using the airinterface resource includes:

detecting traffic of the first communication channel according to apreset traffic detection period; and

determining, when the traffic of the first communication channel is notdetected within the traffic detection period, that the service data isnot transmitted over the first communication channel by using the airinterface resource.

With reference to the first possible implementation manner of the firstaspect, in a second possible implementation manner, the method furtherincludes:

switching, when the traffic of the first communication channel isdetected within the traffic detection period, the second frequency ofsending the hello packet to the second communication device to the firstfrequency; and

sending a second frequency switching message to the second communicationdevice, where the second frequency switching message is used forinstructing the second communication device to switch the secondfrequency of sending the hello packet to the first communication deviceto the first frequency.

With reference to the first aspect or the first possible implementationmanner, in a third possible implementation manner, the method furtherincludes:

receiving a frequency switching message sent by the second communicationdevice when the second communication device detects the traffic of thefirst communication channel and switches the second frequency of sendingthe hello packet to the first communication device to the firstfrequency; and

switching, according to the frequency switching message, the secondfrequency of sending the hello packet to the second communication deviceto the first frequency.

In any possible implementation manner of the first aspect to the thirdpossible implementation manner, in a fourth possible implementationmanner, if the first communication device is a core network device andthe second communication device is user equipment, the method furtherincludes: sending a channel verification message to the user equipmentover the first communication channel when the core network devicereceives a request message of establishing a second communicationchannel and determines that the second communication channel conflictswith the first communication channel;

retransmitting, when the core network device fails to receive a channelverification response message sent by the user equipment, the channelverification message to the user equipment over the first communicationchannel; and

instructing, if the core network device fails to receive the channelverification response message sent by the user equipment afterretransmitting the channel verification message to the user equipment Ntimes, the access network device to delete the first communicationchannel, where the N is a natural number.

In a second aspect, a method for controlling an air interface resourceis provided, and the method includes: sending, by a second communicationdevice, a hello packet to a first communication device over a firstcommunication channel at a first frequency after an access networkdevice allocates an air interface resource to the first communicationchannel, where the first communication channel is a communicationchannel, which passes through the access network device, between thefirst communication device and the second communication device, and thesecond communication device is a core network device or user equipment;

receiving a first frequency switching message sent by the firstcommunication device when the first communication device detects thatservice data is not transmitted over the first communication channel byusing the air interface resource and switches the first frequency ofsending a hello packet to the second communication device to a secondfrequency; and

switching, according to the first frequency switching message, the firstfrequency of sending the hello packet to the first communication deviceto the second frequency, where the first frequency is greater than thesecond frequency.

In a first possible implementation manner of the second aspect, themethod further includes:

receiving, when the first communication device detects traffic of thefirst communication channel and switches the second frequency of sendingthe hello packet to the second communication device to the firstfrequency, a second frequency switching message sent by the firstcommunication device; and

switching, according to the second frequency switching message, thesecond frequency of sending the hello packet to the first communicationdevice to the first frequency.

In a second possible implementation manner of the second aspect, themethod further includes:

switching, when traffic of the first communication channel is detectedaccording to a preset traffic detection period, the second frequency ofsending the hello packet to the first communication device to the firstfrequency; and

sending a frequency switching message to the first communication device,where the frequency switching message is used for instructing the firstcommunication device to switch the second frequency of sending the hellopacket to the second communication device to the first frequency.

In any possible implementation manner of the second aspect to the secondpossible implementation manner, in a third possible implementationmanner, if the first communication device is a core network device andthe second communication device is user equipment, the method furtherincludes:

receiving a channel verification message sent by the core network devicewhen the core network device receives a request message of establishinga second communication channel and determines that the secondcommunication channel conflicts with the first communication channel;and

sending, according to the channel verification message, a channelverification response message to the core network device, so that thecore network device maintains, according to the channel verificationresponse message, the air interface resource occupied by the firstcommunication channel.

In a third aspect, a communication device is provided, and thecommunication device includes:

a sending unit, configured to send a hello packet to a secondcommunication device over a first communication channel at a firstfrequency after an access network device allocates an air interfaceresource to the first communication channel, where the firstcommunication channel is a communication channel, which passes throughthe access network device, between the communication device and thesecond communication device, and the communication device is a corenetwork device or user equipment;

a detecting unit, configured to detect whether service data istransmitted over the first communication channel by using the airinterface resource; and

a processing unit, configured to switch, when the detecting unit detectsthat the service data is not transmitted over the first communicationchannel by using the air interface resource, the first frequency atwhich the sending unit sends the hello packet to the secondcommunication device to a second frequency, where the second frequencyis less than the first frequency; where

the sending unit is further configured to send a first frequencyswitching message to the second communication device, where the firstfrequency switching message is used for instructing the secondcommunication device to switch the first frequency of sending a hellopacket to the communication device to the second frequency.

In a first possible implementation manner of the third aspect, thedetecting unit is specifically configured to:

detect traffic of the first communication channel according to a presettraffic detection period; and

the communication device further includes a determining unit, configuredto determine, when the traffic of the first communication channel is notdetected by the detecting unit, that the service data is not transmittedover the first communication channel by using the air interfaceresource.

With reference to the first possible implementation manner of the thirdaspect, in a second possible implementation manner, the detecting unitis further configured to detect the traffic of the first communicationchannel within the traffic detection period;

the processing unit is further configured to switch the second frequencyof sending the hello packet to the second communication device to thefirst frequency; and

the sending unit is further configured to send a second frequencyswitching message to the second communication device, where the secondfrequency switching message is used for instructing the secondcommunication device to switch the second frequency of sending the hellopacket to the communication device to the first frequency.

With reference to the third aspect or the first possible implementationmanner, in a third possible implementation manner, the communicationdevice further includes a receiving unit, configured to receive afrequency switching message sent by the second communication device whenthe second communication device detects the traffic of the firstcommunication channel and switches the second frequency of sending thehello packet to the communication device to the first frequency; and

the processing unit is further configured to switch, according to thefrequency switching message, the second frequency of sending the hellopacket to the second communication device to the first frequency.

In any possible implementation manner of the third aspect to the thirdpossible implementation manner, in a fourth possible implementationmanner, if the communication device is a core network device and thesecond communication device is user equipment,

the receiving unit of the communication device is configured to receivea request message of establishing a second communication channel;

the determining unit is configured to determine, according to therequest message, that the second communication channel conflicts withthe first communication channel;

the sending unit is further configured to, send a channel verificationmessage to the user equipment over the first communication channel; and

retransmit, when a channel verification response message sent by theuser equipment is not received, the channel verification message to theuser equipment over the first communication channel; and

the processing unit is further configured to delete the firstcommunication channel if the channel verification response message sentby the user equipment is not received after the channel verificationresponse is retransmitted to the user equipment N times, where the N isa natural number.

In a fourth aspect, a communication device is provided, and thecommunication device includes:

a sending unit, configured to send a hello packet to a firstcommunication device over a first communication channel at a firstfrequency after an access network device allocates an air interfaceresource to the first communication channel, where the firstcommunication channel is a communication channel, which passes throughthe access network device, between the first communication device andthe communication device, and the communication device is a core networkdevice or user equipment;

a receiving unit, configured to receive a first frequency switchingmessage sent by the first communication device when the firstcommunication device detects that service data is not transmitted overthe first communication channel by using the air interface resource andswitches the first frequency of sending a hello packet to thecommunication device to a second frequency; and

a processing unit, configured to switch, according to the firstfrequency switching message, the first frequency of sending the hellopacket to the first communication device to the second frequency, wherethe first frequency is greater than the second frequency.

In a first possible implementation manner of the fourth aspect, thereceiving unit is further configured to receive a second frequencyswitching message sent by the first communication device when the firstcommunication device detects traffic of the first communication channeland switches the second frequency of sending the hello packet to thecommunication device to the first frequency; and

the processing unit is further configured to switch, according to thesecond frequency switching message, the second frequency of sending thehello packet to the first communication device to the first frequency.

In a second possible implementation manner of the fourth aspect, thecommunication device further includes a detecting unit, configured todetect traffic of the first communication channel according to a presettraffic detection period;

the processing unit is further configured to switch the second frequencyof sending the hello packet to the first communication device to thefirst frequency; and

the sending unit is further configured to send a frequency switchingmessage to the first communication device, where the frequency switchingmessage is used for instructing the first communication device to switchthe second frequency of sending the hello packet to the communicationdevice to the first frequency.

In any possible implementation manner of the fourth aspect to the secondpossible implementation manner, in a third possible implementationmanner, if the first communication device is a core network device andthe communication device is user equipment, the receiving unit isfurther configured to receive a channel verification message sent by thecore network device when the core network device receives a requestmessage of establishing a second communication channel and determinesthat the second communication channel conflicts with the firstcommunication channel; and

the sending unit is further configured to send, according to the channelverification message, a channel verification response message to thecore network device, so that the core network device maintains,according to the channel verification response message, the airinterface resource occupied by the first communication channel.

In a fifth aspect, an air interface resource control system is provided,and the air interface resource control system includes an access networkdevice, and the air interface resource control system further includes acore network device and user equipment, where the user equipment isconnected to the access network device, and the access network device isconnected to the core network device;

the core network device includes the communication device according toany possible implementation manner of the third aspect to the fourthpossible implementation manner, and the user equipment includes thecommunication device according to any possible implementation manner ofthe fourth aspect to the third possible implementation manner; or

the core network device includes the communication device according toany possible implementation manner of the fourth aspect to the secondpossible implementation manner, and the user equipment includes thecommunication device according to any possible implementation manner ofthe third aspect to the third possible implementation manner.

According to the foregoing solutions, when it is detected that servicedata is not transmitted, by using an air interface resource, over acommunication channel that occupies the air interface resource, afrequency at which communication devices at both ends of thecommunication channel send a hello packet is decreased, so that anaccess network device cannot detect the hello packet within a packetdetection period. In this way, the access network device releases theair interface resource when the hello packet is not detected within thepacket detection period, so that the access network device may allocatethe air interface resource to another communication channel, therebyimproving air interface resource utilization.

BRIEF DESCRIPTION OF DRAWINGS

To illustrate the technical solutions provided in the embodiments of thepresent application more clearly, a brief introduction on theaccompanying drawings will be given below. The accompanying drawings inthe description below are merely some of the embodiments of the presentapplication, based on which other drawings may be obtained by thoseskilled in the art without any inventive efforts.

FIG. 1 is a flow diagram of a method for controlling an air interfaceresource according to an embodiment of the present application;

FIG. 2 is a flow diagram of another method for controlling an airinterface resource according to an embodiment of the presentapplication;

FIG. 3 is a flow diagram of another method for controlling an airinterface resource according to an embodiment of the presentapplication;

FIG. 4 is a schematic structural diagram of a communication deviceaccording to an embodiment of the present application;

FIG. 5 is a schematic structural diagram of another communication deviceaccording to an embodiment of the present application;

FIG. 6 is a schematic structural diagram of another communication deviceaccording to an embodiment of the present application;

FIG. 7 is a schematic structural diagram of another communication deviceaccording to an embodiment of the present application; and

FIG. 8 is a schematic structural diagram of an air interface resourcecontrol system according to an embodiment of the present application.

DESCRIPTION OF EMBODIMENTS

The following clearly describes the technical solutions in theembodiments of the present application with reference to theaccompanying drawings in the embodiments of the present application. Thedescribed embodiments are merely a part rather than all of theembodiments of the present application. All of other embodimentsobtained by persons of ordinary skill in the art based on theembodiments of the present application without any inventive efforts,fall into the protection scope of the present application.

All embodiments below in the present application may be applied to aplurality of wireless communications systems, for example, a GSM (globalsystem for mobile communication), a GPRS (general packet radio service)system and an LTE system, and the like. Corresponding to differentwireless communications systems, the access network device may be a BSC(base station controller) in the GSM or GPRS system, or may be an eNodeB(evolved node B) in the LTE system.

An embodiment of the present application provides a method forcontrolling an air interface resource. As shown in FIG. 1, the methodincludes:

S101. After an access network device allocates an air interface resourceto a first communication channel, a first communication device sends ahello packet to a second communication device over the firstcommunication channel at a first frequency.

The first communication channel is a communication channel, which passesthrough the access network device, between the first communicationdevice and the second communication device. The first communicationdevice is a core network device or user equipment. When the firstcommunication device is a core network device, the second communicationdevice is user equipment; when the first communication device is userequipment, the second communication device is a core network device.

S102. The first communication device detects whether service data istransmitted over the first communication channel by using the airinterface resource.

Specifically, the first communication device detects data traffic and/orprotocol traffic of the first communication channel according to apreset traffic detection period. When the data traffic and/or protocoltraffic of the first communication channel is not detected within thetraffic detection period, it is determined that the service data is nottransmitted over the first communication channel by using the airinterface resource.

Exemplarily, if the first communication device is a core network deviceand the second communication device is user equipment, the core networkdevice may detect, according to a preset traffic detection period,whether downlink data traffic and/or protocol traffic that is sent tothe user equipment over the first communication channel exist/exists. Ifthe downlink data traffic and/or protocol traffic that is sent to theuser equipment over the first communication channel do not exist withinthe preset traffic detection period, then it may be determined that theuser equipment does not perform any data service. Therefore, the firstcommunication device may determine that service data is not transmittedover the first communication channel by using the air interfaceresource. If the first communication device is user equipment and thesecond communication device is a core network device, the user equipmentmay detect, according to a preset traffic detection period, whether datatraffic and/or protocol traffic, including uplink data traffic and/orprotocol traffic, are/is used by the user equipment. When use of thedata traffic and/or protocol traffic is not detected within the trafficdetection period, it is determined that service data is not transmittedover the first communication channel by using the air interfaceresource.

S103. When detecting that the service data is not transmitted over thefirst communication channel by using the air interface resource, thefirst communication device switches the first frequency of sending thehello packet to the second communication device to a second frequency.

The second frequency is less than the first frequency.

S104. The first communication device sends a first frequency switchingmessage to the second communication device, where the first frequencyswitching message is used for instructing the second communicationdevice to switch the first frequency of sending a hello packet to thefirst communication device to the second frequency of sending the hellopacket to the first communication device, so that the access networkdevice releases the air interface resource occupied by the firstcommunication channel when the hello packet is not received within apacket detection period.

In a possible implementation manner of the present application, both thecore network device and the user equipment may detect whether servicedata is transmitted over the first communication channel by using theair interface resource. Based on a priority principle, when eitherdevice detects that the service data is not transmitted over the firstcommunication channel by using the air interface resource first, thedevice decreases a frequency at which the device sends the hello packetto the peer device and sends a frequency switching message to instructthe peer device also to decrease a frequency of sending a hello packet.

In addition, the first frequency and the second frequency may bepre-configured by a user. It should be noted that, the first frequencyshould enable the access network device to receive the hello packetwithin the packet detection period, and the second frequency shouldenable the access network device to fail to receive the hello packetwithin the packet detection period. For example, the packet detectionperiod is 20s, and the first communication device and the secondcommunication device send one hello packet at the first frequency every10s; in this case, the access network device is capable of receiving thehello packet within the packet detection period. If the firstcommunication device and the second communication device send one hellopacket at the second frequency every 50s; in this case, the accessnetwork device cannot receive the hello packet within the packetdetection period. In this way, because the access network device mayrelease the air interface resource occupied by the first communicationchannel when the hello packet is not received within the packetdetection period, the air interface resource may be occupied by anothercommunication channel that needs to transmit service data, therebyimproving air interface resource utilization. That is, the firstfrequency should be greater than a packet detection frequency, and thesecond frequency should be less than the packet detection frequency,where the packet detection frequency=1/the packet detection period.

Further, after the access network device releases the air interfaceresource occupied by the first communication channel, the firstcommunication device switches the second frequency of sending the hellopacket to the second communication device to the first frequency whendetecting traffic of the first communication channel within the trafficdetection period, and sends a second frequency switching message to thesecond communication device, where the second frequency switchingmessage is used for instructing the second communication device toswitch the second frequency of sending the hello packet to the firstcommunication device to the first frequency.

Optionally, after the access network device releases the air interfaceresource occupied by the first communication channel, the secondcommunication device switches the second frequency of sending the hellopacket to the first communication device to the first frequency whentraffic (data traffic and/or protocol traffic) of the firstcommunication channel is detected, and sends a frequency switchingmessage to the first communication device. The first communicationdevice switches the second frequency of sending the hello packet to thesecond communication device to the first frequency according to thefrequency switching message.

Specifically, the access network device reallocates an air interfaceresource to the first communication channel when sensing uplink trafficof the user equipment or downlink traffic of the core network device,where the traffic includes data traffic or protocol traffic, so that ahello packet or service data is transmitted over the first communicationchannel by using the air interface resource. In this way, when detectingthe traffic of the first communication channel, the user equipment orthe core network device switches the second frequency at which the userequipment or the core network device sends the hello packet the peerdevice back to the first frequency, and sends a frequency switchingmessage for instructing the peer device to switch the second frequencyof sending the hello packet back to the first frequency, therebyensuring normal use of the first communication channel.

It should be noted that, this embodiment of the present application maybe applied in a scenario of hybrid networking of a DSL (digitalsubscriber line) and LTE. In this scenario, the core network device isan HAAP (hybrid access aggregation point) server, and the user equipmentis an HG (home gateway). The HAAP server is deployed with coordinationof an HA (hybrid access) to implement that dual tunnels of a DSL and LTEare bound to each home gateway to provide higher bandwidth for aterminal user of the home gateway. In this way, the home gateway or theHAAP server decreases a frequency of sending a hello packet between thehome gateway and the HAAP server when determining that service data isnot transmitted over the LTE channel by using an air interface resource,so that an eNodeB in the LTE channel releases the air interface resourceoccupied by the LTE channel when the hello packet is not detected, andthe eNodeB may allocate the air interface resource to another channel,thereby improving air interface resource utilization. If the homegateway and the HAAP server determine that service data or a hellopacket is transmitted over the LTE channel by using the air interfaceresource, that is, when the home gateway or the HAAP server detects datatraffic or protocol traffic, a frequency at which both devices sendhello packets is restored and normal use of the LTE channel is ensured.

In addition, because an LTE channel and a DSL channel exist between ahome gateway and an HAAP server in the scenario of hybrid networking ofa DSL and LTE, the home gateway and the HAAP server may send a hellopacket to the peer device by using the DSL channel. In this way, afterthe eNodeB releases the air interface resource occupied by the LTEchannel, the hello packet between the home gateway and the HAAP servermay still be properly sent. In this case, the home gateway and the HAAPneed only to detect data traffic used by the LTE channel, and restore afrequency of sending the hello packets by both the devices when it isdetermined that service data is transmitted over the LTE channel byusing the air interface resource.

Optionally, if the first communication device is a core network deviceand the second communication device is user equipment, when the corenetwork device receives a request message of establishing a secondcommunication channel, if the second communication channel conflictswith the first communication channel, the core network device sends achannel verification message to the user equipment over the firstcommunication channel. If the core network device fails to receive achannel verification response message sent by the user equipment, thecore network device retransmits the channel verification message to theuser equipment over the first communication channel, and the firstcommunication channel is deleted if the core network device still failsto receive the channel verification response message sent by the userequipment after the core network device retransmits the channelverification message to the user equipment N times, where the N is anatural number.

It should be noted that, in the prior art, if user equipment is poweredoff or restarts, a core network device may not perceive the power-off orrestarting of the user equipment immediately. In this case, a firstcommunication channel between the user equipment and the core networkdevice may still be maintained until a hello packet expires. In thisway, if it is detected that a time after the hello packet expires is toolong, waste of the air interface resource occupied by the firstcommunication channel may be caused. And, when the core network devicereceives a request message of establishing a second communicationchannel sent by the user equipment or another user equipment, if thesecond communication channel requested by the request message conflictswith the first communication channel, the second communication channelcannot be established. In this embodiment of the present application,when determining that the second communication channel conflicts withthe first communication channel, the core network device sends a channelverification message to the user equipment over the first communicationchannel to verify whether the first communication channel is normallyused. After the core network device retransmits the channel verificationmessage multiple times, if the core network device still fails toreceive the channel verification response message sent by the userequipment, the core network device deletes the first communicationchannel and releases the air interface resource occupied by the firstcommunication channel. In addition, the core network device may allocatethe air interface resource to the second communication channel directly,thereby further improving air interface resource utilization.

Exemplarily, when the core network device receives a channelestablishment request message of the second communication channel, thecore network device acquires an IP address of the second communicationchannel carried in the channel establishment request message. If the IPaddress is the same as an IP address of the first communication channel,the core network device determines that the second communication channelconflicts with the first communication channel.

It should be noted that, if the second communication channel is acommunication channel, which is requested by the user equipment,established between the user equipment and the core network device, thecore network device may acquire a device identifier of the userequipment when the core network device receives the channelestablishment request message of the user equipment, and may determinethat the second communication channel conflicts with the firstcommunication channel when the core network device determines that theuser equipment corresponds to both the first communication channel andthe second communication channel according to the device identifier.Where a correspondence between the device identifier of the userequipment and a communication channel is stored in the core networkdevice.

According to the foregoing solutions, when it is detected that servicedata is not transmitted, by using an air interface resource, over acommunication channel that occupies the air interface resource, afrequency at which communication devices at both ends of thecommunication channel send a hello packet is decreased, so that anaccess network device cannot detect the hello packet within a packetdetection period. In this way, the access network device releases theair interface resource when the hello packet is not detected within thepacket detection period, so that the access network device may allocatethe air interface resource to another communication channel, therebyimproving air interface resource utilization.

An embodiment of the present application provides a method forcontrolling an air interface resource. As shown in FIG. 2, the methodincludes:

S201. A second communication device sends a hello packet to a firstcommunication device over a first communication channel at a firstfrequency after an access network device allocates an air interfaceresource to the first communication channel.

The first communication channel is a communication channel, which passesthrough the access network device, between the access network device andthe second communication device.

In addition, the second communication device is a core network device oruser equipment. With reference to the previous embodiment, thisembodiment of the present application and the previous embodimentillustrate devices on different sides of the first communicationchannel, respectively. That is, if the first communication device in theprevious embodiment is a core network device, the second communicationdevice in this embodiment of the present application is user equipment;if the first communication device in the previous embodiment is userequipment, the second communication device in this embodiment of thepresent application is a core network device.

S202. When the first communication device detects that service data isnot transmitted over the first communication channel by using the airinterface resource and switches the first frequency of sending a hellopacket to the second communication device to a second frequency (thesecond frequency is less than the first frequency), the secondcommunication device receives a first frequency switching message sentby the first communication device.

Specifically, for details about an action of the first communicationdevice in the step S202, refer to a corresponding description of stepS103 in the previous embodiment of the present application.

S203. The second communication device switches the first frequency ofsending the hello packet to the first communication device to the secondfrequency according to the first frequency switching message, so as torelease the air interface resource occupied by the first communicationchannel when the access network device fails to receive the hello packetwithin a packet detection period.

In a possible implementation manner of the present application, both thecore network device and the user equipment may detect whether servicedata is transmitted over the first communication channel by using theair interface resource. Based on a priority principle, when eitherdevice detects that the service data is not transmitted over the firstcommunication channel by using the air interface resource first, thedevice decreases a frequency at which the device sends the hello packetto the peer device and sends a frequency switching message to instructthe peer device also to decrease a frequency of sending a hello packet.

In addition, the first frequency and the second frequency may bepre-configured by a user. It should be noted that, the first frequencyshould enable the access network device to receive the hello packetwithin the packet detection period, and the second frequency shouldenable the access network device to fail to receive the hello packetwithin the packet detection period. For example, the packet detectionperiod is 20s, and the first communication device and the secondcommunication device send one hello packet at the first frequency every10s; in this case, the access network device is capable of receiving thehello packet within the packet detection period. If the firstcommunication device and the second communication device send one hellopacket at the second frequency every 50s; in this case, the accessnetwork device cannot receive the hello packet within the packetdetection period. In this way, because the access network device mayrelease the air interface resource occupied by the first communicationchannel when the hello packet is not received within the packetdetection period, the air interface resource may be occupied by anothercommunication channel that needs to transmit service data, therebyimproving air interface resource utilization. That is, the firstfrequency should be greater than a packet detection frequency, and thesecond frequency should be less than the packet detection frequency,where the packet detection frequency =1/the packet detection period.

Further, after the access network device releases the air interfaceresource occupied by the first communication channel, when the firstcommunication device detects traffic of the first communication channeland switches the second frequency of sending the hello packet to thesecond communication device to the first frequency, the secondcommunication device receives a second frequency switching message sentby the first communication device, and switches the second frequency ofsending the hello packet to the first communication device to the firstfrequency according to the second frequency switching message.

Optionally, after the access network device releases the air interfaceresource occupied by the first communication channel, the secondcommunication device detects the traffic of the first communicationchannel according to a preset traffic detection period, and switches thesecond frequency of sending the hello packet to the first communicationdevice to the first frequency when the traffic is detected within thetraffic detection period, and then sends a frequency switching messageto the first communication device, where the frequency switching messageis used for instructing the first communication device to switch thesecond frequency of sending the hello packet to the second communicationdevice to the first frequency.

Optionally, if the first communication device is a core network deviceand the second communication device is user equipment, a channelverification message sent by the core network device is received whenthe core network device receives a request message of establishing asecond communication channel and determines that the secondcommunication channel conflicts with the first communication channel,and a channel verification response message is sent to the core networkdevice according to the channel verification message, so that the corenetwork device maintains, according to the channel verification responsemessage, the air interface resource occupied by the first communicationchannel.

It should be noted that, after retransmitting the channel verificationmessage multiple times, if the core network device still fails toreceive the channel verification response message sent by the userequipment, the core network device deletes the first communicationchannel and releases the air interface resource occupied by the firstcommunication channel. In addition, the core network device may allocatethe air interface resource to the second communication channel directly,thereby further improving air interface resource utilization.

According to the foregoing solutions, when it is detected that servicedata is not transmitted, by using an air interface resource, over acommunication channel that occupies the air interface resource, afrequency at which communication devices at both ends of thecommunication channel send a hello packet is decreased, so that anaccess network device cannot detect the hello packet within a packetdetection period. In this way, the access network device releases theair interface resource when the hello packet is not detected within thepacket detection period, so that the access network device may allocatethe air interface resource to another communication channel, therebyimproving air interface resource utilization.

Specifically, the access network device reallocates an air interfaceresource to the first communication channel when sensing uplink trafficof the user equipment or downlink traffic of the core network device,where the traffic includes data traffic or protocol traffic, so that ahello packet or service data is transmitted over the first communicationchannel by using the air interface resource. In this way, when detectingthe traffic of the first communication channel, the user equipment orthe core network device switches the second frequency at which the userequipment or the core network device sends the hello packet the peerdevice back to the first frequency, and sends a frequency switchingmessage for instructing the peer device to switch the second frequencyof sending the hello packet back to the first frequency, therebyensuring normal use of the first communication channel.

It should be noted that, this embodiment of the present application maybe applied in a scenario of hybrid networking of a DSL (digitalsubscriber line) and LTE. In this scenario, the core network device isan HAAP (hybrid access aggregation point) server, and the user equipmentis an HG (home gateway). The HAAP server is deployed with coordinationof an HA (hybrid access) to implement that dual tunnels of a DSL and LTEare bound to each home gateway to provide higher bandwidth for aterminal user of the home gateway. In this way, the home gateway or theHAAP server decreases a frequency of sending a hello packet between thehome gateway and the HAAP server when determining that service data isnot transmitted over the LTE channel by using an air interface resource,so that an eNodeB in the LTE channel releases the air interface resourceoccupied by the LTE channel when the hello packet is not detected, andthe eNodeB may allocate the air interface resource to another channel,thereby improving air interface resource utilization. If the homegateway and the HAAP server determine that service data or a hellopacket is transmitted over the LTE channel by using the air interfaceresource, that is, when the home gateway or the HAAP server detects datatraffic or protocol traffic, a frequency at which both devices sendhello packets is restored and normal use of the LTE channel is ensured.

In addition, because an LTE channel and a DSL channel exist between ahome gateway and an HAAP server in the scenario of hybrid networking ofa DSL and LTE, the home gateway and the HAAP server may send a hellopacket to the peer device by using the DSL channel. In this way, afterthe eNodeB releases the air interface resource occupied by the LTEchannel, the hello packet between the home gateway and the HAAP servermay still be properly sent. In this case, the home gateway and the HAAPneed only to detect data traffic used by the LTE channel, and restore afrequency of sending the hello packets by both the devices when it isdetermined that service data is transmitted over the LTE channel byusing the air interface resource.

To make persons skilled in the art more clearly understand technicalsolutions, provided in the embodiments of the present application, ofthe method for controlling an air interface resource, the followingdescribes in detail, by using specific embodiments, the method forcontrolling an air interface resource according to an embodiment of thepresent application. This embodiment is described by using an example inwhich a first communication device is a core network device and a secondcommunication device is user equipment. As shown in FIG. 3, the methodincludes the following steps:

S301. The core network device sends a hello packet to the user equipmentover a first communication channel according to a first frequency.

It should be noted that, before step S301, the user equipment sends achannel establishment request message to the access network device, theaccess network device sends the channel establishment request message tothe core network device, and the core network device establishes thefirst communication channel with respect to the user equipment accordingto the channel establishment request message and instructs the accessnetwork device to allocate an air interface resource to the firstcommunication channel.

In addition, the first communication channel passes through the accessnetwork device, that is, the hello packet sent by the core networkdevice to the user equipment needs to be forwarded via the accessnetwork device.

S302. An access network device forwards the hello packet to the userequipment when receiving the hello packet over the first communicationchannel.

It should be noted that, after establishing the first communicationchannel with the core network device, the user equipment may also send ahello packet to the core network device, where frequencies at which bothdevices send hello packets needs to be consistent.

S303. The user equipment sends a hello packet to the core network deviceover the first communication channel at the first frequency.

S304. The access network device forwards the hello packet to the corenetwork device when receiving, over the first communication channel, thehello packet sent by the user equipment to the core network device.

S305. If data traffic sent to the user equipment fails to be detectedwithin a traffic detection period, the core network device switches thefirst frequency of sending the hello packet to the user equipment to asecond frequency.

The traffic detection period may be preset by a user, and is related toa time allowed for which no service data is carried on the air interfaceresource. For example, if it is expected that the access network devicereleases the air interface resource when no service data is carried onthe air interface resource for 10 minutes, the traffic detection periodmay be preset as 10 minutes.

S306. The core network device sends a first frequency switching messageto the user equipment over the first communication channel.

S307. The access network device sends the first frequency switchingmessage to the user equipment when receiving the first frequencyswitching message over the first communication channel.

S308. The user equipment switches the first frequency of sending thehello packet to the core network device to the second frequencyaccording to the first frequency switching message, where the secondfrequency is less than the first frequency.

It should be noted that, the first frequency and the second frequencymay be preset by a user, and may be specific frequency values or may befrequency ranges, which are not limited in the present application.

In addition, because the access network device releases the airinterface resource occupied by the communication channel when a hellopacket is not received over the communication channel within the packetdetection period, setting of the first frequency and the secondfrequency is related to the packet detection period. For example, thepacket detection period is 20s, and the core network device and the userequipment send one hello packet at the first frequency every 10s; inthis case, the access network device is capable of receiving the hellopacket within the packet detection period. If the core network deviceand the user equipment send one hello packet at the second frequencyevery 50s; in this case, the access network device cannot receive thehello packet within the packet detection period. In this way, becausethe access network device may release the air interface resourceoccupied by the first communication channel when the hello packet is notreceived within the packet detection period, the air interface resourcemay be occupied by another communication channel that needs to transmitservice data, thereby improving air interface resource utilization. Thatis, the first frequency should be greater than a packet detectionfrequency, and the second frequency should be less than the packetdetection frequency, where the packet detection frequency=1/the packetdetection period.

S309. The access network device releases the air interface resourceoccupied by the first communication channel when the hello packet is notreceived within the traffic detection period.

S310. The access network device reallocates an air interface resource tothe first communication channel.

Specifically, the access network device reallocates the air interfaceresource to the first communication channel when sensing uplink trafficof the user equipment or downlink traffic of the core network device,where the traffic includes data traffic or protocol traffic, so that ahello packet or service data is transmitted over the first communicationchannel by using the air interface resource.

S311. The core network device switches the second frequency of sending ahello packet to the user equipment to the first frequency when detectingdownlink traffic of the first communication channel within the trafficdetection period.

S312. The core network device sends a second frequency switching messageto the user equipment over the first communication channel.

S313. The access network device sends the second frequency switchingmessage to the user equipment when receiving the second frequencyswitching message over the first communication channel.

S314. The user equipment switches the second frequency of sending ahello packet to the core network device to the first frequency accordingto the second frequency switching message.

It should be noted that, alternatively, the user equipment may initiate,by detecting uplink traffic of the first communication channel,switching of a frequency of sending the hello packet. Therefore,optionally, based on a priority principle, when the user equipment firstdetects the uplink traffic of the first communication channel, step S315to step S318 are performed.

S315. When detecting uplink traffic of the first communication channelwithin the traffic detection period, the user equipment switches thesecond frequency of sending the hello packet to the core network deviceto the first frequency.

S316. The user equipment sends a frequency switching message to the corenetwork device over the first communication channel.

S317. The access network device sends the frequency switching message tothe core network device when receiving the frequency switching messageover the first communication channel.

S318. The core network device switches the second frequency of sendingthe hello packet to the user equipment to the first frequency accordingto the frequency switching message.

In this way, when it is detected that service data is not transmitted,by using an air interface resource, over a communication channel thatoccupies the air interface resource, a frequency at which communicationdevices at both ends of the communication channel send a hello packet isdecreased, so that an access network device cannot detect the hellopacket within a packet detection period. In this way, the access networkdevice releases the air interface resource when the hello packet is notdetected within the packet detection period, so that the access networkdevice may allocate the air interface resource to another communicationchannel, thereby improving air interface resource utilization.

Optionally, based on step S319 to step S321, air interface resourceutilization may be further improved.

S319. The core network device determines that the second communicationchannel conflicts with the first communication channel when receiving arequest message of establishing a second communication channel.

The request message may be sent by the user equipment or another userequipment to the core network device.

Exemplarily, when receiving a channel establishment request message withrespect to the second communication channel, the core network deviceacquires an IP address of the second communication channel carried inthe channel establishment request message. If the IP address is the sameas an IP address of the first communication channel, the core networkdevice determines that the second communication channel conflicts withthe first communication channel.

It should be noted that, if the second communication channel is acommunication channel, which is requested by the user equipment,established between the user equipment and the core network device, thecore network device may acquire a device identifier of the userequipment when receiving the channel establishment request message ofthe user equipment, and then may determine that the second communicationchannel conflicts with the first communication channel when determiningthat the user equipment corresponds to both the first communicationchannel and the second communication channel according to the deviceidentifier, where a correspondence between the device identifier of theuser equipment and a communication channel is stored in the core networkdevice.

S320. The core network device sends a channel verification message tothe user equipment over the first communication channel.

S321. After retransmitting the channel verification message to the userequipment N times, if the core network device fails to receive a channelverification response message sent by the user equipment, the corenetwork device deletes the first communication channel.

It should be noted that, in the prior art, if user equipment is poweredoff or restarts, a core network device may not be sensed immediately. Inthis case, a first communication channel between the user equipment andthe core network device may still be maintained until a hello packetexpires. In this way, if it is detected that a time after the hellopacket expires is too long, waste of the air interface resource occupiedby the first communication channel may be caused. Meanwhile, when thecore network device receives a request message of establishing a secondcommunication channel sent by the user equipment or another userequipment, if the second communication channel requested by the requestmessage conflicts with the first communication channel, the secondcommunication channel cannot be established. In this embodiment of thepresent application, when determining that the second communicationchannel conflicts with the first communication channel, the core networkdevice sends a channel verification message to the user equipment overthe first communication channel to verify whether the firstcommunication channel is properly used. After retransmitting the channelverification message multiple times, if the core network device stillfails to receive the channel verification response message sent by theuser equipment, the core network device instructs the access networkdevice to delete the first communication channel and release the airinterface resource occupied by the first communication channel. Inaddition, the core network device may allocate the air interfaceresource to the second communication channel directly, thereby furtherimproving air interface resource utilization.

Moreover, for brief description, the foregoing method embodiments arerepresented as a series of actions. However, persons skilled in the artshould understand that the present application is not limited to thedescribed order of the actions. In addition, persons skilled in the artshould also understand that the embodiments described herein areexemplary embodiments, and the involved actions and modules mentionedare not necessarily required by the present application.

Specifically, the access network device reallocates an air interfaceresource to the first communication channel when sensing uplink trafficof the user equipment or downlink traffic of the core network device,where the traffic includes data traffic or protocol traffic, so that ahello packet or service data is transmitted over the first communicationchannel by using the air interface resource. In this way, when detectingthe traffic of the first communication channel, the user equipment orthe core network device switches the second frequency at which the userequipment or the core network device sends the hello packet the peerdevice back to the first frequency, and sends a frequency switchingmessage for instructing the peer device to switch the second frequencyof sending the hello packet back to the first frequency, therebyensuring normal use of the first communication channel.

It should be noted that, this embodiment of the present application maybe applied in a scenario of hybrid networking of a DSL (digitalsubscriber line) and LTE. In this scenario, the core network device isan HAAP (hybrid access aggregation point) server, and the user equipmentis an HG (home gateway). The HAAP server is deployed with coordinationof an HA (hybrid access) to implement that dual tunnels of a DSL and LTEare bound to each home gateway to provide higher bandwidth for aterminal user of the home gateway. In this way, the home gateway or theHAAP server decreases a frequency of sending a hello packet between thehome gateway and the HAAP server when determining that service data isnot transmitted over the LTE channel by using an air interface resource,so that an eNodeB in the LTE channel releases the air interface resourceoccupied by the LTE channel when the hello packet is not detected, andthe eNodeB may allocate the air interface resource to another channel,thereby improving air interface resource utilization. If the homegateway and the HAAP server determine that service data or a hellopacket is transmitted over the LTE channel by using the air interfaceresource, that is, when the home gateway or the HAAP server detects datatraffic or protocol traffic, a frequency at which both devices sendhello packets is restored and normal use of the LTE channel is ensured.

In addition, because an LTE channel and a DSL channel exist between ahome gateway and an HAAP server in the scenario of hybrid networking ofa DSL and LTE, the home gateway and the HAAP server may send a hellopacket to the peer device by using the DSL channel. In this way, afterthe eNodeB releases the air interface resource occupied by the LTEchannel, the hello packet between the home gateway and the HAAP servermay still be properly sent. In this case, the home gateway and the HAAPneed only to detect data traffic used by the LTE channel, and restore afrequency of sending the hello packets by both the devices when it isdetermined that service data is transmitted over the LTE channel byusing the air interface resource.

An embodiment of the present application provides a communication device40, corresponding to the foregoing method embodiment of FIG. 1, allfunctional units of the communication device 40 may be used in theforegoing method steps. As shown in FIG. 4, the communication device 40includes:

a sending unit 41, configured to send a hello packet to a secondcommunication device over a first communication channel at a firstfrequency after an access network device allocates an air interfaceresource to the first communication channel, where

the first communication channel is a communication channel, which passesthrough the access network device, between the communication device andthe second communication device, and the communication device is a corenetwork device or user equipment;

a detecting unit 42, configured to detect whether service data istransmitted over the first communication channel by using the airinterface resource; and

a processing unit 43, configured to switch, when the detecting unit 42detects that the service data is not transmitted over the firstcommunication channel by using the air interface resource, the firstfrequency at which the sending unit 41 sends the hello packet to thesecond communication device to a second frequency; where

the sending unit 41 is further configured to send a first frequencyswitching message to the second communication device, where the firstfrequency switching message is used for instructing the secondcommunication device to switch the first frequency of sending a hellopacket to the communication device to the second frequency.

The first frequency and the second frequency may be pre-configured by auser. It should be noted that, the first frequency should enable theaccess network device to receive the hello packet within the packetdetection period, and the second frequency should enable the accessnetwork device to fail to receive the hello packet within the packetdetection period. For example, the packet detection period is 20s, andthe communication device and the second communication device send onehello packet at the first frequency every 10s; in this case, the accessnetwork device is capable of receiving the hello packet within thepacket detection period. If the communication device and the secondcommunication device send one hello packet at the second frequency every50s; in this case, the access network device cannot receive the hellopacket within the packet detection period. In this way, because theaccess network device may release the air interface resource occupied bythe first communication channel when the hello packet is not receivedwithin the packet detection period, the air interface resource may beoccupied by another communication channel that needs to transmit servicedata, thereby improving air interface resource utilization. That is, thefirst frequency should be greater than a packet detection frequency, andthe second frequency should be less than the packet detection frequency,where the packet detection frequency=1/the packet detection period.

Optionally, the detecting unit 42 is specifically configured to detecttraffic of the first communication channel according to a preset trafficdetection period; the communication device further includes adetermining unit 44, configured to determine, when the traffic of thefirst communication channel is not detected by the detecting unit 42,that the service data is not transmitted over the first communicationchannel by using the air interface resource.

Exemplarily, if the communication device is a core network device andthe second communication device is user equipment, the core networkdevice may detect, according to a preset traffic detection period,whether downlink data traffic that is sent to the user equipment overthe first communication channel exists. If the downlink data trafficthat is sent to the user equipment over the first communication channeldo not exist within the preset traffic detection period, then it may bedetermined that the user equipment does not perform any data service.Therefore, the communication device may determine that service data isnot transmitted over the first communication channel by using the airinterface resource. If the communication device is user equipment andthe second communication device is a core network device, the userequipment may detect, according to a preset traffic detection period,whether data traffic, including uplink data traffic, is used by the userequipment. When use of the data traffic is not detected within thetraffic detection period, it is determined that the service data is nottransmitted over the first communication channel by using the airinterface resource.

Optionally, the detecting unit 42 is further configured to detect thetraffic of the first communication channel within the traffic detectionperiod after the access network device releases the air interfaceresource occupied by the first communication channel; the processingunit 43 is further configured to switch the second frequency of sendingthe hello packet to the second communication device to the firstfrequency; the sending unit 41 is further configured to send a secondfrequency switching message to the second communication device, wherethe second frequency switching message is used for instructing thesecond communication device to switch the second frequency of sendingthe hello packet to the communication device to the first frequency.

Optionally, the communication device further includes a receiving unit45, configured to receive a frequency switching message sent by thesecond communication device if the second communication device detectsthe traffic of the first communication channel and switches the secondfrequency of sending the hello packet to the communication device to thefirst frequency after the access network device releases the airinterface resource occupied by the first communication channel; theprocessing unit 43 is further configured to switch, according to thefrequency switching message, the second frequency of sending the hellopacket to the second communication device to the first frequency.

Specifically, the access network device reallocates an air interfaceresource to the first communication channel when sensing uplink trafficof the user equipment or downlink traffic of the core network device,where the traffic includes data traffic or protocol traffic, so that ahello packet or service data is transmitted over the first communicationchannel by using the air interface resource. In this way, when detectingthe traffic of the communication device, the user equipment or the corenetwork device switches the second frequency at which the user equipmentor the core network device sends the hello packet the peer device backto the first frequency, and sends a frequency switching message forinstructing the peer device to switch the second frequency of sendingthe hello packet back to the first frequency, thereby ensuring normaluse of the first communication channel.

Optionally, if the communication device is a core network device and thesecond communication device is user equipment, the receiving unit 45 isconfigured to receive a request message of establishing a secondcommunication channel; the determining unit 44 is configured todetermine, according to the request message, that the secondcommunication channel conflicts with the first communication channel;the sending unit 41 is further configured to, send a channelverification message to the user equipment over the first communicationchannel, and retransmit the channel verification message to the userequipment over the first communication channel if a channel verificationresponse message sent by the user equipment is not received; theprocessing unit 43 is further configured to delete the firstcommunication channel if the channel verification response message sentby the user equipment is not received after a channel verificationresponse is retransmitted to the user equipment N times, where the N isa natural number.

According to the foregoing communication device, when the communicationdevice detects that service data is not transmitted, by using an airinterface resource, over a communication channel that occupies the airinterface resource, a frequency at which communication devices at bothends of the communication channel send a hello packet is decreased, sothat an access network device cannot detect the hello packet within apacket detection period. In this way, the access network device releasesthe air interface resource when the hello packet is not detected withinthe packet detection period, so that the access network device mayallocate the air interface resource to another communication channel,thereby improving air interface resource utilization.

An embodiment of the present application provides a communication device50, corresponding to the foregoing method embodiment of FIG. 2, allfunctional units of the communication device 50 may be used in theforegoing method steps. As shown in FIG. 5, the communication device 50includes:

a sending unit 51, configured to send a hello packet to a firstcommunication device over a first communication channel at a firstfrequency after an access network device allocates an air interfaceresource to the first communication channel, where

the first communication channel is a communication channel, which passesthrough the access network device, between the first communicationdevice and the communication device, and the communication device is acore network device or user equipment;

a receiving unit 52, configured to receive a first frequency switchingmessage sent by the first communication device when the firstcommunication device detects that service data is not transmitted overthe first communication channel by using the air interface resource andswitches the first frequency of sending a hello packet to thecommunication device to a second frequency; and

a processing unit 53, configured to switch, according to the firstfrequency switching message, the first frequency of sending the hellopacket to the first communication device to the second frequency.

The first frequency and the second frequency may be pre-configured by auser. It should be noted that, the first frequency should enable theaccess network device to receive the hello packet within the packetdetection period, and the second frequency should enable the accessnetwork device to fail to receive the hello packet within the packetdetection period. For example, the packet detection period is 20s, andthe first communication device and the second communication device sendone hello packet at the first frequency every 10s; in this case, theaccess network device is capable of receiving the hello packet withinthe packet detection period. If the first communication device and thesecond communication device send one hello packet at the secondfrequency every 50s; in this case, the access network device cannotreceive the hello packet within the packet detection period. In thisway, because the access network device may release the air interfaceresource occupied by the first communication channel when the hellopacket is not received within the packet detection period, the airinterface resource may be occupied by another communication channel thatneeds to transmit service data, thereby improving air interface resourceutilization. That is, the first frequency should be greater than apacket detection frequency, and the second frequency should be less thanthe packet detection frequency, where the packet detectionfrequency=1/the packet detection period.

Optionally, the receiving unit 52 is further configured to receive asecond frequency switching message sent by the first communicationdevice when the first communication device detects traffic of the firstcommunication channel and switches the second frequency of sending thehello packet to the communication device to the first frequency afterthe access network device releases the air interface resource occupiedby the first communication channel; the processing unit 53 is furtherconfigured to switch the second frequency of sending the hello packet tothe first communication device to the first frequency according to thesecond frequency switching message.

Optionally, the communication device further includes a detecting unit54, configured to detect traffic of the first communication channelaccording to a preset traffic detection period after the access networkdevice releases the air interface resource occupied by the firstcommunication channel; the processing unit 53 is further configured toswitch the second frequency of sending the hello packet to the firstcommunication device to the first frequency; the sending unit 51 isfurther configured to send a frequency switching message to the firstcommunication device, where the frequency switching message is used forinstructing the first communication device to switch the secondfrequency of sending the hello packet to the communication device to thefirst frequency.

Specifically, the access network device reallocates an air interfaceresource to the first communication channel when sensing uplink trafficof the user equipment or downlink traffic of the core network device,where the traffic includes data traffic or protocol traffic, so that ahello packet or service data is transmitted over the first communicationchannel by using the air interface resource. In this way, when detectingthe traffic of the first communication channel, the user equipment orthe core network device switches the second frequency at which the userequipment or the core network device sends the hello packet the peerdevice back to the first frequency, and sends a frequency switchingmessage for instructing the peer device to switch the second frequencyof sending the hello packet back to the first frequency, therebyensuring normal use of the first communication channel.

Optionally, if the first communication device is a core network deviceand the communication device is user equipment, the receiving unit 52 isfurther configured to receive a channel verification message sent by thecore network device when the core network device receives a requestmessage of establishing a second communication channel and determinesthat the second communication channel conflicts with the firstcommunication channel; the sending unit 51 is further configured tosend, according to the channel verification message, a channelverification response message to the core network device, so that thecore network device maintains, according to the channel verificationresponse message, the air interface resource occupied by the firstcommunication channel.

According to the foregoing communication device, the communicationdevice receives the frequency switching message sent by the firstcommunication device when the first communication device correspondingto the communication device detects that service data is not transmittedover a communication channel between both the devices by using an airinterface resource and switches the first frequency of sending the hellopacket over the communication channel to the second frequency, and afrequency at which communication devices at both ends of thecommunication channel send a hello packet is decreased, so that anaccess network device cannot detect the hello packet within a packetdetection period. In this way, the access network device releases theair interface resource when the hello packet is not detected within thepacket detection period, so that the access network device may allocatethe air interface resource to another communication channel, therebyimproving air interface resource utilization.

An embodiment of the present application provides a communication device60, and the communication device 60 is a core network device or userequipment. As shown in FIG. 6, the communication device 60 includes:

a processor 61, a communications interface 62, a memory 63 and acommunications bus 64, where the processor 61, the communicationsinterface 62 and the memory 63 complete communication with each otherthrough the communications bus 64.

The processor 61 may be a multi-core central processing unit (CPU), oran application specific integrated circuit ASIC (Application SpecificIntegrated Circuit), or configured to be one or multiple integratedcircuits that implement this embodiment of the present application.

The memory 63 is configured to store program code, where the programcode includes a computer operation instruction and a network flow graph.The memory 63 may include a high speed random access memory (RAM), andmay also include a non-volatile memory, for example, at least one diskmemory.

The communications interface 62 is configured to implement connectionand communication between these apparatuses.

The processor 61 is configured to execute the program code in the memory63 to perform the following operations:

sending a hello packet to a second communication device over a firstcommunication channel at a first frequency after an access networkdevice allocates an air interface resource to the first communicationchannel, where the first communication channel is a communicationchannel, which passes through the access network device, between thecommunication device 60 and the second communication device, and thecommunication device 60 is a core network device or user equipment;

detecting, by the communication device 60, whether service data istransmitted over the first communication channel by using the airinterface resource;

switching, when it is detected that the service data is not transmittedover the first communication channel by using the air interfaceresource, the first frequency of sending the hello packet to the secondcommunication device to a second frequency; and

sending a first frequency switching message to the second communicationdevice, where the first frequency switching message is used forinstructing the second communication device to switch the firstfrequency of sending a hello packet to the communication device to thesecond frequency.

Optionally, the detecting, by the communication device, whether servicedata is transmitted over the first communication channel by using theair interface resource includes:

detecting data traffic of the first communication channel according to apreset traffic detection period; and

determining, when the data traffic of the first communication channel isnot detected within the traffic detection period, that the service datais not transmitted over the first communication channel by using the airinterface resource.

Optionally, the operations further include:

switching, when the traffic of the first communication channel isdetected within the traffic detection period, the second frequency ofsending the hello packet to the second communication device to the firstfrequency; and

sending a second frequency switching message to the second communicationdevice, where the second frequency switching message is used forinstructing the second communication device to switch the secondfrequency of sending the hello packet to the communication device to thefirst frequency.

Optionally, the operations further include:

receiving a frequency switching message sent by the second communicationdevice when the second communication device detects the traffic of thefirst communication channel and switches the second frequency of sendingthe hello packet to the communication device to the first frequency; and

switching, according to the frequency switching message, the secondfrequency of sending the hello packet to the second communication deviceto the first frequency.

Optionally, if the communication device is a core network device and thesecond communication device is user equipment, the operations furtherinclude: sending a channel verification message to the user equipmentover the first communication channel when the core network devicereceives a request message of establishing a second communicationchannel and determines that the second communication channel conflictswith the first communication channel;

retransmitting, when the core network device fails to receive a channelverification response message sent by the user equipment, the channelverification message to the user equipment over the first communicationchannel; and

deleting the first communication channel if the core network devicefails to receive the channel verification response message sent by theuser equipment after retransmitting the channel verification message tothe user equipment N times, where the N is a natural number.

Persons skilled in the art may clearly understand that for ease andbrevity of description, the foregoing division of function modules isused only as an example. In practical application, the foregoingfunctions may be undertaken by different function modules as required,that is, the internal structure of an apparatus is divided intodifferent function modules to implement all or a part of the functionsdescribed above. For a detailed working process of the foregoing system,apparatus, and unit, refer to a corresponding process in the foregoingmethod embodiments, and details are not described herein.

An embodiment of the present application provides a communication device70, and the communication device 70 is a core network device or userequipment. As shown in FIG. 7, the communication device 70 includes:

a processor 71, a communications interface 72, a memory 73 and acommunications bus 74, where the processor 71, the communicationsinterface 72 and the memory 73 complete communication with each otherthrough the communications bus 74.

The processor 71 may be a multi-core central processing unit (CPU), oran application specific integrated circuit ASIC (Application SpecificIntegrated Circuit), or configured to be one or multiple integratedcircuits that implement this embodiment of the present application.

The memory 73 is configured to store program code, where the programcode includes a computer operation instruction and a network flow graph.The memory 73 may include a high speed RAM memory, and may also includea non-volatile memory, for example, at least one disk memory.

The communications interface 72 is configured to implement connectionand communication between these apparatuses.

The processor 71 is configured to execute the program code in the memory73 to perform the following operations:

sending, by the communication device 70, a hello packet to a firstcommunication device over a first communication channel at a firstfrequency after an access network device allocates an air interfaceresource to the first communication channel, where the firstcommunication channel is a communication channel, which passes throughthe access network device, between the first communication device andthe communication device 70, and the communication device 70 is a corenetwork device or user equipment;

receiving a first frequency switching message sent by the firstcommunication device when the first communication device detects thatservice data is not transmitted over the first communication channel byusing the air interface resource and switches the first frequency ofsending a hello packet to the communication device to a secondfrequency; and switching, according to the first frequency switchingmessage, the first frequency of sending the hello packet to the firstcommunication device to the second frequency.

Optionally, the operations further include:

receiving, when the first communication device detects traffic of thefirst communication channel and switches the second frequency of sendingthe hello packet to the communication device to the first frequency, asecond frequency switching message sent by the first communicationdevice; and

switching, according to the second frequency switching message, thesecond frequency of sending the hello packet to the first communicationdevice to the first frequency.

Optionally, the operations further include:

switching, when traffic of the first communication channel is detectedaccording to a preset traffic detection period, the second frequency ofsending the hello packet to the first communication device to the firstfrequency; and

sending a frequency switching message to the first communication device,where the frequency switching message is used for instructing the firstcommunication device to switch the second frequency of sending the hellopacket to the communication device to the first frequency.

Optionally, if the first communication device is a core network deviceand the communication device is user equipment, the operations furtherinclude:

receiving a channel verification message sent by the core network devicewhen the core network device receives a request message of establishinga second communication channel and determines that the secondcommunication channel conflicts with the first communication channel;and

sending, according to the channel verification message, a channelverification response message to the core network device, so that thecore network device maintains, according to the channel verificationresponse message, the air interface resource occupied by the firstcommunication channel.

Persons skilled in the art may clearly understand that for ease andbrevity of description, the foregoing division of function modules isused only as an example. In practical application, the foregoingfunctions may be undertaken by different function modules as required,that is, the internal structure of an apparatus is divided intodifferent function modules to implement all or a part of the functionsdescribed above. For a detailed working process of the foregoing system,apparatus, and unit, refer to a corresponding process in the foregoingmethod embodiments, and details are not described herein.

An embodiment of the present application provides an air interfaceresource control system. As shown in FIG. 8, the air interface resourcecontrol system includes an access network device 81, the air interfaceresource control system further includes: a core network device 82 and auser equipment 83, where the user equipment 83 is connected to theaccess network device 81, and the access network device 81 is connectedto the core network device 82.

The access network device is configured to allocate an air interfaceresource for a communication channel between the core network device 82and the user equipment 83.

The core network device 82 is a communication device 40/communicationdevice 60 as shown in FIG. 4/FIG. 6, and for specific description, referto the corresponding description of FIG. 4/FIG. 6, which is notdescribed herein. In this case, the user equipment 83 is a communicationdevice 50/communication device 70 as shown in FIG. 5/FIG. 7, and forspecific description, refer to the corresponding description of FIG.5/FIG. 7, which is not described herein. Alternatively:

The core network device 82 is a communication device 50/communicationdevice 70 as shown in FIG. 5/FIG. 7, and for specific description, referto the corresponding description of FIG. 5/FIG. 7, which is notdescribed herein. In this case, the user equipment 83 is a communicationdevice 40/communication device 60 as shown in FIG. 4/FIG. 6, and forspecific description, refer to the corresponding description of FIG.4/FIG. 6, which is not described herein.

According to the foregoing air interface resource control system, whenit is detected that service data is not transmitted, by using an airinterface resource, over a communication channel that occupies the airinterface resource, a frequency at which communication devices at bothends of the communication channel send a hello packet is decreased, sothat an access network device cannot detect the hello packet within apacket detection period. In this way, the access network device releasesthe air interface resource when the hello packet is not detected withinthe packet detection period, so that the access network device mayallocate the air interface resource to another communication channel,thereby improving air interface resource utilization.

The foregoing descriptions are merely specific embodiments of thepresent application, but are not intended to limit the protection scopeof the present application. Any variation or replacement readily figuredout by persons skilled in the art within the technical scope disclosedin the present application shall fall within the protection scope of thepresent application. Therefore, the protection scope of the presentapplication shall be subject to the protection scope of the claims.

Additionally, statements made herein characterizing the invention referto an embodiment of the invention and not necessarily all embodiments.

1. A method, comprising: sending, by a first communication device, hellopackets at a first frequency to a second communication device over afirst communication channel, wherein the first communication channel isa communication channel between the first communication device and thesecond communication device, and wherein the first communication channelis based on an air interface resource; in response to traffic notpassing over the first communication channel for a predetermined amountof time, sending, by the first communication device, hello packets at asecond frequency to the second communication device over the firstcommunication channel, wherein sending hello packets at the secondfrequency corresponds to sending hello packets less frequently thansending hello packets at the first frequency, wherein the firstfrequency is higher than a packet detection frequency, wherein thesecond frequency is lower than the packet detection frequency, whereinthe packet detection frequency is the reciprocal of a packet detectionperiod, and wherein the air interface resource is released based on ahello packet not being transmitted over the first communication channelduring the packet detection period; and sending, by the firstcommunication device, a first message to the second communication devicefor instructing the second communication device to send hello packets atthe second frequency.
 2. (canceled)
 3. The method according to claim 1,further comprising: based on traffic of the first communication channelbeing detected within a preset traffic detection period, switching, bythe first communication device, from sending hello packets at the secondfrequency to sending hello packets at the first frequency; and sending,by the first communication device, a second message to the secondcommunication device for instructing the second communication device toswitch from sending hello packets at the second frequency to sendinghello packets at the first frequency.
 4. The method according to claim1, further comprising: receiving, by the first communication device, amessage from the second communication device; and switching, by thefirst communication device, according to the message, from sending hellopackets at the second frequency to sending hello packets at the firstfrequency.
 5. The method according to claim 1, wherein the firstcommunication device is a core network device and the secondcommunication device is a user equipment, and wherein the method furthercomprises: sending, by the core network device, a channel verificationmessage to the user equipment over the first communication channel basedon the core network device receiving a request message for establishinga second communication channel between the core network device and theuser equipment and the second communication channel conflicting with thefirst communication channel; retransmitting, by the core network device,based on the core network device failing to receive a channelverification response message from the user equipment, the channelverification message to the user equipment over the first communicationchannel; and deleting, by the core network device, the firstcommunication channel based on the core network device failing toreceive the channel verification response message from the userequipment after retransmitting the channel verification message to theuser equipment N times, wherein N is a natural number.
 6. The methodaccording to claim 1, wherein the traffic comprises data traffic orprotocol traffic.
 7. The method according to claim 1, wherein the firstfrequency is preconfigured by a user.
 8. The method according to claim1, wherein the first communication channel passes through an accessnetwork device, and wherein the air interface resource is allocated bythe access network device.
 9. The method according to claim 1, whereinthe first communication device is a home gateway (HG) and the secondcommunication device is a hybrid access aggregation point (HAAP) server;wherein the first communication channel is a wireless communicationchannel between the HG and the HAAP server; and wherein after releasingthe air interface resource, hello packets are transmitted between the HGand the HAAP server through a second communication channel between theHG and the HAAP server.
 10. A first communication device, wherein thefirst communication device comprises a processor and a memory, whereinthe memory is configured to store program code, and wherein theprocessor is configured to execute the program code in the memory tofacilitate the following operations: sending hello packets at a firstfrequency to a second communication device over a first communicationchannel, wherein the first communication channel is a communicationchannel between the first communication device and the secondcommunication device, and wherein the first communication channel isbased on an air interface resource; in response to traffic not passingover the first communication channel for a predetermined amount of time,sending hello packets at a second frequency to the second communicationdevice over the first communication channel, wherein sending hellopackets at the second frequency corresponds to sending hello packetsless frequently than sending hello packets at the first frequency,wherein the first frequency is higher than a packet detection frequency,wherein the second frequency is lower than the packet detectionfrequency, wherein the packet detection frequency is the reciprocal of apacket detection period, and wherein the air interface resource isreleased based on a hello packet not being transmitted over the firstcommunication channel during the packet detection period; and sending afirst message to the second communication device for instructing thesecond communication device to send hello packets at the secondfrequency.
 11. (canceled)
 12. The first communication device accordingto claim 10, wherein the processor is further configured to execute theprogram code in the memory to facilitate: based on traffic of the firstcommunication channel being detected within a preset traffic detectionperiod, switching from sending hello packets at the second frequency tosending hello packets at the first frequency; and sending a secondmessage to the second communication device for instructing the secondcommunication device to switch from sending hello packets over the firstcommunication channel at the second frequency to sending hello packetsover the first communication channel at the first frequency.
 13. Thefirst communication device according to claim 10, wherein the processoris further configured to execute the program code in the memory tofacilitate: receiving a message from the second communication device;and switching, according to the message, from sending hello packets atthe second frequency to sending hello packets at the first frequency.14. The first communication device according to claim 10, wherein thefirst communication device is a core network device and the secondcommunication device is a user equipment, and wherein the processor isfurther configured to execute the program code in the memory tofacilitate: sending a channel verification message to the user equipmentover the first communication channel based on the core network devicereceiving a request message for establishing a second communicationchannel between the core network device and the user equipment and thesecond communication channel conflicting with the first communicationchannel; retransmitting, based on the core network device failing toreceive a channel verification response message from the user equipment,the channel verification message to the user equipment over the firstcommunication channel; and deleting the first communication channelbased on the core network device failing to receive the channelverification response message from the user equipment afterretransmitting the channel verification message to the user equipment Ntimes, wherein N is a natural number.
 15. The first communication deviceaccording to claim 10, wherein the traffic comprises data traffic orprotocol traffic.
 16. A second communication device, wherein the secondcommunication device comprises a processor and a memory, wherein thememory is configured to store program code, and wherein the processor isconfigured to execute the program code in the memory to facilitate thefollowing operations: sending hello packets to a first communicationdevice over a first communication channel at a first frequency, whereinthe first communication channel is a communication channel between thefirst communication device and the second communication device, andwherein the first communication channel is based on an air interfaceresource; receiving a first message from the first communication device,wherein the first message corresponds to traffic not passing over thefirst communication channel for a predetermined amount of time; andswitching, according to the first message, from sending hello packets tothe first communication device over the first communication channel atthe first frequency to sending hello packets to the first communicationdevice over the first communication channel at a second frequency,wherein sending hello packets at the second frequency corresponds tosending hello packets less frequently than sending hello packets at thefirst frequency, wherein the first frequency is higher than a packetdetection frequency, wherein the second frequency is lower than thepacket detection frequency, wherein the packet detection frequency isthe reciprocal of a packet detection period, and wherein the airinterface resource is released based on a hello packet not beingtransmitted over the first communication channel during the packetdetection period.
 17. The second communication device according to claim16, wherein the processor is further configured to execute the programcode in the memory to facilitate: receiving a second message from thefirst communication device; and switching, according to the secondmessage, from sending hello packets over the first communication channelat the second frequency to sending hello packets over the firstcommunication channel at the first frequency.
 18. The secondcommunication device according to claim 16, wherein the processor isfurther configured to execute the program code in the memory tofacilitate: based on traffic of the first communication channel beingdetected according to a preset traffic detection period, switching fromsending hello packets over the first communication channel at the secondfrequency to sending hello packets over the first communication channelat the first frequency; and sending a message to the first communicationdevice for instructing the first communication device to switch fromsending hello packets over the first communication channel at the secondfrequency to sending hello packets over the first communication channelat the first frequency.
 19. The second communication device according toclaim 16, wherein the first communication device is a core networkdevice and the second communication device is a user equipment, andwherein the processor is further configured to execute the program codein the memory to facilitate: receiving a channel verification messagefrom the core network device, wherein the channel verification messagecorresponds to the core network device receiving a request message forestablishing a second communication channel between the core networkdevice and the user equipment and the second communication channelconflicts with the first communication channel; and sending, accordingto the channel verification message, a channel verification responsemessage to the core network device.
 20. The second communication deviceaccording to claim 16, wherein the traffic comprises data traffic orprotocol traffic.
 21. A system, comprising: a first communicationdevice; and a second communication device; where the first communicationdevice is configured to: send hello packets at a first frequency to thesecond communication device over a first communication channel betweenthe first communication device and the second communication device,wherein the first communication channel is based on an air interfaceresource; in response to traffic not passing over the firstcommunication channel for a predetermined amount of time, send hellopackets at a second frequency to the second communication device overthe first communication channel, wherein sending hello packets at thesecond frequency corresponds to sending hello packets less frequentlythan sending hello packets at the first frequency, wherein the firstfrequency is higher than a packet detection frequency, wherein thesecond frequency is lower than the packet detection frequency, whereinthe packet detection frequency is the reciprocal of a packet detectionperiod, and wherein the air interface resource is released based on ahello packet not being transmitted over the first communication channelduring the packet detection period; and send a first message to thesecond communication device for instructing the second communicationdevice to send hello packets at the second frequency.
 22. The systemaccording to claim 21, wherein the traffic comprises data traffic orprotocol traffic.
 23. The system according to claim 21, wherein thefirst communication device is a home gateway (HG) and the secondcommunication device is a hybrid access aggregation point (HAAP) server;wherein the first communication channel is a wireless communicationchannel between the HG and the HAAP server; and wherein the HG and theHAAP server are configured to transmit hello packets between the HG andthe HAAP server through a second communication channel between the HGand the HAAP server after the air interface resource is released. 24.The system according to claim 23, wherein the second communicationchannel is a digital subscriber line (DSL) channel.